package cn.rkylin.oms.ext.cainiao.item.service;

import cn.rkylin.oms.ext.cainiao.item.dao.CainiaoItemDAO;
import cn.rkylin.oms.ext.cainiao.item.vo.CainiaoItemVO;
import org.springframework.beans.factory.annotation.Autowired;

import com.github.pagehelper.PageInfo;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by ZH on 2018-4-3.
 */
@Service("cainiaoItemService")
public class CainiaoItemServiceImpl implements ICainiaoItemService {

    @Autowired
    private CainiaoItemDAO cainiaoItemDAO;
    /**
     * queryStockList：根据查询条件获取库存信息列表
     */
    public PageInfo<CainiaoItemVO> queryItemList(int page, int length, CainiaoItemVO queryParamVO) throws Exception {
        return cainiaoItemDAO.selectPagedByCondition(page, length, queryParamVO);
    }

}
